package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.UacUserSecurity;
import com.csun.cmny.provider.model.domain.UacUserSecurityQuestion;
import com.csun.cmny.provider.model.dto.user.CheckSecurityQuestionDto;
import com.csun.cmny.provider.model.dto.user.ResetLoginPwdDto;
import com.csun.cmny.provider.model.dto.user.UserSecurityQuestionDto;
import com.csun.cmny.provider.model.vo.UserSecurityVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface UacUserSecurityService extends IService<UacUserSecurity> {

    //查询安全问题列表
    List<UacUserSecurityQuestion> querySecurityQuestionList();

    //查询用户安全问题列表
    UserSecurityVo queryUserSecurityQuestionList(String loginName);

    //添加安全问题
    Integer addSecurityQuestion(UserSecurityQuestionDto userSecurityQuestionDto);

    //校验安全问题
    String checkQuestionActive(CheckSecurityQuestionDto checkSecurityQuestionDto, HttpServletResponse response);

}
